package com.amigo.online.provider.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.manager.model.entity.GlobalConfig;

@Mapper
@Component
public interface GlobalConfigMapper extends MyMapper<GlobalConfig> {

    /**
     * 查询
     *
     * @param globalConfig
     * @return
     */
    List<GlobalConfig> findGlobalConfigList(GlobalConfig globalConfig);

    /**
     * 插入
     *
     * @param globalConfig
     * @return
     */
    Integer insertGlobalConfig(GlobalConfig globalConfig);


    Integer updateGlobalConfig(GlobalConfig globalConfig);

    Integer deleteGlobalConfig(GlobalConfig globalConfig);
}
